import random

count = 0
amount_shots = int(input())
for i in range(amount_shots):
    x = random.randint(-100, 100)
    y = random.randint(-100, 100)
    if (-7 <= x <= 5) and (-8 <= y <= 5):
        count += 1
print(f"Количество выстрел: {amount_shots}")
print(f"Количество попаданий: {count}")




